package com.fanqiechaodan.decorator;

/**
 * @author fanqiechaodan
 * @Classname CarDecorator
 * @Description 装饰器
 */
public abstract class CarDecorator implements Car {

    protected Car car;

    public CarDecorator(Car car) {
        this.car = car;
    }

    /**
     * 组装
     */
    @Override
    public void assemble() {
        car.assemble();
    }
}
